package com.thinkgem.jeesite.modules.sys.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }
        public Criteria andShopIdEqualTo(Integer value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }
        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdIsNull() {
            addCriterion("source_system_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdIsNotNull() {
            addCriterion("source_system_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdEqualTo(String value) {
            addCriterion("source_system_id =", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdNotEqualTo(String value) {
            addCriterion("source_system_id <>", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdGreaterThan(String value) {
            addCriterion("source_system_id >", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdGreaterThanOrEqualTo(String value) {
            addCriterion("source_system_id >=", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdLessThan(String value) {
            addCriterion("source_system_id <", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdLessThanOrEqualTo(String value) {
            addCriterion("source_system_id <=", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdLike(String value) {
            addCriterion("source_system_id like", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdNotLike(String value) {
            addCriterion("source_system_id not like", value, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdIn(List<String> values) {
            addCriterion("source_system_id in", values, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdNotIn(List<String> values) {
            addCriterion("source_system_id not in", values, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdBetween(String value1, String value2) {
            addCriterion("source_system_id between", value1, value2, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceSystemIdNotBetween(String value1, String value2) {
            addCriterion("source_system_id not between", value1, value2, "sourceSystemId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdIsNull() {
            addCriterion("source_business_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdIsNotNull() {
            addCriterion("source_business_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdEqualTo(String value) {
            addCriterion("source_business_id =", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdNotEqualTo(String value) {
            addCriterion("source_business_id <>", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdGreaterThan(String value) {
            addCriterion("source_business_id >", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdGreaterThanOrEqualTo(String value) {
            addCriterion("source_business_id >=", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdLessThan(String value) {
            addCriterion("source_business_id <", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdLessThanOrEqualTo(String value) {
            addCriterion("source_business_id <=", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdLike(String value) {
            addCriterion("source_business_id like", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdNotLike(String value) {
            addCriterion("source_business_id not like", value, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdIn(List<String> values) {
            addCriterion("source_business_id in", values, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdNotIn(List<String> values) {
            addCriterion("source_business_id not in", values, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdBetween(String value1, String value2) {
            addCriterion("source_business_id between", value1, value2, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessIdNotBetween(String value1, String value2) {
            addCriterion("source_business_id not between", value1, value2, "sourceBusinessId");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoIsNull() {
            addCriterion("out_trade_no is null");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoIsNotNull() {
            addCriterion("out_trade_no is not null");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoEqualTo(String value) {
            addCriterion("out_trade_no =", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoNotEqualTo(String value) {
            addCriterion("out_trade_no <>", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoGreaterThan(String value) {
            addCriterion("out_trade_no >", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoGreaterThanOrEqualTo(String value) {
            addCriterion("out_trade_no >=", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoLessThan(String value) {
            addCriterion("out_trade_no <", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoLessThanOrEqualTo(String value) {
            addCriterion("out_trade_no <=", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoLike(String value) {
            addCriterion("out_trade_no like", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoNotLike(String value) {
            addCriterion("out_trade_no not like", value, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoIn(List<String> values) {
            addCriterion("out_trade_no in", values, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoNotIn(List<String> values) {
            addCriterion("out_trade_no not in", values, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoBetween(String value1, String value2) {
            addCriterion("out_trade_no between", value1, value2, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeNoNotBetween(String value1, String value2) {
            addCriterion("out_trade_no not between", value1, value2, "outTradeNo");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(String value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(String value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(String value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(String value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(String value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(String value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<String> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<String> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(String value1, String value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(String value1, String value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeIsNull() {
            addCriterion("plat_form_type is null");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeIsNotNull() {
            addCriterion("plat_form_type is not null");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeEqualTo(Integer value) {
            addCriterion("plat_form_type =", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeNotEqualTo(Integer value) {
            addCriterion("plat_form_type <>", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeGreaterThan(Integer value) {
            addCriterion("plat_form_type >", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("plat_form_type >=", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeLessThan(Integer value) {
            addCriterion("plat_form_type <", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeLessThanOrEqualTo(Integer value) {
            addCriterion("plat_form_type <=", value, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeIn(List<Integer> values) {
            addCriterion("plat_form_type in", values, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeNotIn(List<Integer> values) {
            addCriterion("plat_form_type not in", values, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeBetween(Integer value1, Integer value2) {
            addCriterion("plat_form_type between", value1, value2, "platFormType");
            return (Criteria) this;
        }

        public Criteria andPlatFormTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("plat_form_type not between", value1, value2, "platFormType");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNull() {
            addCriterion("channel_id is null");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNotNull() {
            addCriterion("channel_id is not null");
            return (Criteria) this;
        }

        public Criteria andChannelIdEqualTo(Integer value) {
            addCriterion("channel_id =", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotEqualTo(Integer value) {
            addCriterion("channel_id <>", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThan(Integer value) {
            addCriterion("channel_id >", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("channel_id >=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThan(Integer value) {
            addCriterion("channel_id <", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThanOrEqualTo(Integer value) {
            addCriterion("channel_id <=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdIn(List<Integer> values) {
            addCriterion("channel_id in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotIn(List<Integer> values) {
            addCriterion("channel_id not in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdBetween(Integer value1, Integer value2) {
            addCriterion("channel_id between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotBetween(Integer value1, Integer value2) {
            addCriterion("channel_id not between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNull() {
            addCriterion("contact_name is null");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNotNull() {
            addCriterion("contact_name is not null");
            return (Criteria) this;
        }

        public Criteria andContactNameEqualTo(String value) {
            addCriterion("contact_name =", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotEqualTo(String value) {
            addCriterion("contact_name <>", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThan(String value) {
            addCriterion("contact_name >", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("contact_name >=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThan(String value) {
            addCriterion("contact_name <", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThanOrEqualTo(String value) {
            addCriterion("contact_name <=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLike(String value) {
            addCriterion("contact_name like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotLike(String value) {
            addCriterion("contact_name not like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameIn(List<String> values) {
            addCriterion("contact_name in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotIn(List<String> values) {
            addCriterion("contact_name not in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameBetween(String value1, String value2) {
            addCriterion("contact_name between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotBetween(String value1, String value2) {
            addCriterion("contact_name not between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactMobileIsNull() {
            addCriterion("contact_mobile is null");
            return (Criteria) this;
        }

        public Criteria andContactMobileIsNotNull() {
            addCriterion("contact_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andContactMobileEqualTo(String value) {
            addCriterion("contact_mobile =", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotEqualTo(String value) {
            addCriterion("contact_mobile <>", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileGreaterThan(String value) {
            addCriterion("contact_mobile >", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileGreaterThanOrEqualTo(String value) {
            addCriterion("contact_mobile >=", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLessThan(String value) {
            addCriterion("contact_mobile <", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLessThanOrEqualTo(String value) {
            addCriterion("contact_mobile <=", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileLike(String value) {
            addCriterion("contact_mobile like", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotLike(String value) {
            addCriterion("contact_mobile not like", value, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileIn(List<String> values) {
            addCriterion("contact_mobile in", values, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotIn(List<String> values) {
            addCriterion("contact_mobile not in", values, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileBetween(String value1, String value2) {
            addCriterion("contact_mobile between", value1, value2, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andContactMobileNotBetween(String value1, String value2) {
            addCriterion("contact_mobile not between", value1, value2, "contactMobile");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNull() {
            addCriterion("order_amount is null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNotNull() {
            addCriterion("order_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountEqualTo(BigDecimal value) {
            addCriterion("order_amount =", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotEqualTo(BigDecimal value) {
            addCriterion("order_amount <>", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThan(BigDecimal value) {
            addCriterion("order_amount >", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount >=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThan(BigDecimal value) {
            addCriterion("order_amount <", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount <=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIn(List<BigDecimal> values) {
            addCriterion("order_amount in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotIn(List<BigDecimal> values) {
            addCriterion("order_amount not in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount not between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNull() {
            addCriterion("order_time is null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNotNull() {
            addCriterion("order_time is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeEqualTo(Date value) {
            addCriterion("order_time =", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotEqualTo(Date value) {
            addCriterion("order_time <>", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThan(Date value) {
            addCriterion("order_time >", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("order_time >=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThan(Date value) {
            addCriterion("order_time <", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
            addCriterion("order_time <=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIn(List<Date> values) {
            addCriterion("order_time in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotIn(List<Date> values) {
            addCriterion("order_time not in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeBetween(Date value1, Date value2) {
            addCriterion("order_time between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
            addCriterion("order_time not between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderStateIsNull() {
            addCriterion("order_state is null");
            return (Criteria) this;
        }

        public Criteria andOrderStateIsNotNull() {
            addCriterion("order_state is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStateEqualTo(Byte value) {
            addCriterion("order_state =", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotEqualTo(Byte value) {
            addCriterion("order_state <>", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateGreaterThan(Byte value) {
            addCriterion("order_state >", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("order_state >=", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateLessThan(Byte value) {
            addCriterion("order_state <", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateLessThanOrEqualTo(Byte value) {
            addCriterion("order_state <=", value, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateIn(List<Byte> values) {
            addCriterion("order_state in", values, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotIn(List<Byte> values) {
            addCriterion("order_state not in", values, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateBetween(Byte value1, Byte value2) {
            addCriterion("order_state between", value1, value2, "orderState");
            return (Criteria) this;
        }

        public Criteria andOrderStateNotBetween(Byte value1, Byte value2) {
            addCriterion("order_state not between", value1, value2, "orderState");
            return (Criteria) this;
        }

        public Criteria andPayStateIsNull() {
            addCriterion("pay_state is null");
            return (Criteria) this;
        }

        public Criteria andPayStateIsNotNull() {
            addCriterion("pay_state is not null");
            return (Criteria) this;
        }

        public Criteria andPayStateEqualTo(Byte value) {
            addCriterion("pay_state =", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotEqualTo(Byte value) {
            addCriterion("pay_state <>", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThan(Byte value) {
            addCriterion("pay_state >", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_state >=", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateLessThan(Byte value) {
            addCriterion("pay_state <", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateLessThanOrEqualTo(Byte value) {
            addCriterion("pay_state <=", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateIn(List<Byte> values) {
            addCriterion("pay_state in", values, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotIn(List<Byte> values) {
            addCriterion("pay_state not in", values, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateBetween(Byte value1, Byte value2) {
            addCriterion("pay_state between", value1, value2, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_state not between", value1, value2, "payState");
            return (Criteria) this;
        }

        public Criteria andPayIdIsNull() {
            addCriterion("pay_id is null");
            return (Criteria) this;
        }

        public Criteria andPayIdIsNotNull() {
            addCriterion("pay_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayIdEqualTo(Byte value) {
            addCriterion("pay_id =", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdNotEqualTo(Byte value) {
            addCriterion("pay_id <>", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdGreaterThan(Byte value) {
            addCriterion("pay_id >", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_id >=", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdLessThan(Byte value) {
            addCriterion("pay_id <", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdLessThanOrEqualTo(Byte value) {
            addCriterion("pay_id <=", value, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdIn(List<Byte> values) {
            addCriterion("pay_id in", values, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdNotIn(List<Byte> values) {
            addCriterion("pay_id not in", values, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdBetween(Byte value1, Byte value2) {
            addCriterion("pay_id between", value1, value2, "payId");
            return (Criteria) this;
        }

        public Criteria andPayIdNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_id not between", value1, value2, "payId");
            return (Criteria) this;
        }

        public Criteria andMchIdIsNull() {
            addCriterion("mch_id is null");
            return (Criteria) this;
        }

        public Criteria andMchIdIsNotNull() {
            addCriterion("mch_id is not null");
            return (Criteria) this;
        }

        public Criteria andMchIdEqualTo(Integer value) {
            addCriterion("mch_id =", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotEqualTo(Integer value) {
            addCriterion("mch_id <>", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThan(Integer value) {
            addCriterion("mch_id >", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mch_id >=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThan(Integer value) {
            addCriterion("mch_id <", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThanOrEqualTo(Integer value) {
            addCriterion("mch_id <=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdIn(List<Integer> values) {
            addCriterion("mch_id in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotIn(List<Integer> values) {
            addCriterion("mch_id not in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdBetween(Integer value1, Integer value2) {
            addCriterion("mch_id between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mch_id not between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andPayNameIsNull() {
            addCriterion("pay_name is null");
            return (Criteria) this;
        }

        public Criteria andPayNameIsNotNull() {
            addCriterion("pay_name is not null");
            return (Criteria) this;
        }

        public Criteria andPayNameEqualTo(String value) {
            addCriterion("pay_name =", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameNotEqualTo(String value) {
            addCriterion("pay_name <>", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameGreaterThan(String value) {
            addCriterion("pay_name >", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameGreaterThanOrEqualTo(String value) {
            addCriterion("pay_name >=", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameLessThan(String value) {
            addCriterion("pay_name <", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameLessThanOrEqualTo(String value) {
            addCriterion("pay_name <=", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameLike(String value) {
            addCriterion("pay_name like", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameNotLike(String value) {
            addCriterion("pay_name not like", value, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameIn(List<String> values) {
            addCriterion("pay_name in", values, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameNotIn(List<String> values) {
            addCriterion("pay_name not in", values, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameBetween(String value1, String value2) {
            addCriterion("pay_name between", value1, value2, "payName");
            return (Criteria) this;
        }

        public Criteria andPayNameNotBetween(String value1, String value2) {
            addCriterion("pay_name not between", value1, value2, "payName");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNull() {
            addCriterion("pay_amount is null");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNotNull() {
            addCriterion("pay_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPayAmountEqualTo(BigDecimal value) {
            addCriterion("pay_amount =", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotEqualTo(BigDecimal value) {
            addCriterion("pay_amount <>", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThan(BigDecimal value) {
            addCriterion("pay_amount >", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount >=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThan(BigDecimal value) {
            addCriterion("pay_amount <", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount <=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIn(List<BigDecimal> values) {
            addCriterion("pay_amount in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotIn(List<BigDecimal> values) {
            addCriterion("pay_amount not in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount not between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayNoteIsNull() {
            addCriterion("pay_note is null");
            return (Criteria) this;
        }

        public Criteria andPayNoteIsNotNull() {
            addCriterion("pay_note is not null");
            return (Criteria) this;
        }

        public Criteria andPayNoteEqualTo(String value) {
            addCriterion("pay_note =", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteNotEqualTo(String value) {
            addCriterion("pay_note <>", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteGreaterThan(String value) {
            addCriterion("pay_note >", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteGreaterThanOrEqualTo(String value) {
            addCriterion("pay_note >=", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteLessThan(String value) {
            addCriterion("pay_note <", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteLessThanOrEqualTo(String value) {
            addCriterion("pay_note <=", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteLike(String value) {
            addCriterion("pay_note like", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteNotLike(String value) {
            addCriterion("pay_note not like", value, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteIn(List<String> values) {
            addCriterion("pay_note in", values, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteNotIn(List<String> values) {
            addCriterion("pay_note not in", values, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteBetween(String value1, String value2) {
            addCriterion("pay_note between", value1, value2, "payNote");
            return (Criteria) this;
        }

        public Criteria andPayNoteNotBetween(String value1, String value2) {
            addCriterion("pay_note not between", value1, value2, "payNote");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(BigDecimal value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(BigDecimal value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(BigDecimal value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(BigDecimal value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<BigDecimal> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<BigDecimal> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountIsNull() {
            addCriterion("refund_ing_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountIsNotNull() {
            addCriterion("refund_ing_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountEqualTo(BigDecimal value) {
            addCriterion("refund_ing_amount =", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountNotEqualTo(BigDecimal value) {
            addCriterion("refund_ing_amount <>", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountGreaterThan(BigDecimal value) {
            addCriterion("refund_ing_amount >", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_ing_amount >=", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountLessThan(BigDecimal value) {
            addCriterion("refund_ing_amount <", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_ing_amount <=", value, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountIn(List<BigDecimal> values) {
            addCriterion("refund_ing_amount in", values, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountNotIn(List<BigDecimal> values) {
            addCriterion("refund_ing_amount not in", values, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_ing_amount between", value1, value2, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundIngAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_ing_amount not between", value1, value2, "refundIngAmount");
            return (Criteria) this;
        }

        public Criteria andRefundStateIsNull() {
            addCriterion("refund_state is null");
            return (Criteria) this;
        }

        public Criteria andRefundStateIsNotNull() {
            addCriterion("refund_state is not null");
            return (Criteria) this;
        }

        public Criteria andRefundStateEqualTo(Byte value) {
            addCriterion("refund_state =", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateNotEqualTo(Byte value) {
            addCriterion("refund_state <>", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateGreaterThan(Byte value) {
            addCriterion("refund_state >", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("refund_state >=", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateLessThan(Byte value) {
            addCriterion("refund_state <", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateLessThanOrEqualTo(Byte value) {
            addCriterion("refund_state <=", value, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateIn(List<Byte> values) {
            addCriterion("refund_state in", values, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateNotIn(List<Byte> values) {
            addCriterion("refund_state not in", values, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateBetween(Byte value1, Byte value2) {
            addCriterion("refund_state between", value1, value2, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundStateNotBetween(Byte value1, Byte value2) {
            addCriterion("refund_state not between", value1, value2, "refundState");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNull() {
            addCriterion("refund_reason is null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNotNull() {
            addCriterion("refund_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonEqualTo(String value) {
            addCriterion("refund_reason =", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotEqualTo(String value) {
            addCriterion("refund_reason <>", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThan(String value) {
            addCriterion("refund_reason >", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThanOrEqualTo(String value) {
            addCriterion("refund_reason >=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThan(String value) {
            addCriterion("refund_reason <", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThanOrEqualTo(String value) {
            addCriterion("refund_reason <=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLike(String value) {
            addCriterion("refund_reason like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotLike(String value) {
            addCriterion("refund_reason not like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIn(List<String> values) {
            addCriterion("refund_reason in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotIn(List<String> values) {
            addCriterion("refund_reason not in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonBetween(String value1, String value2) {
            addCriterion("refund_reason between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotBetween(String value1, String value2) {
            addCriterion("refund_reason not between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectIsNull() {
            addCriterion("order_subject is null");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectIsNotNull() {
            addCriterion("order_subject is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectEqualTo(String value) {
            addCriterion("order_subject =", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectNotEqualTo(String value) {
            addCriterion("order_subject <>", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectGreaterThan(String value) {
            addCriterion("order_subject >", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("order_subject >=", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectLessThan(String value) {
            addCriterion("order_subject <", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectLessThanOrEqualTo(String value) {
            addCriterion("order_subject <=", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectLike(String value) {
            addCriterion("order_subject like", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectNotLike(String value) {
            addCriterion("order_subject not like", value, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectIn(List<String> values) {
            addCriterion("order_subject in", values, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectNotIn(List<String> values) {
            addCriterion("order_subject not in", values, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectBetween(String value1, String value2) {
            addCriterion("order_subject between", value1, value2, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andOrderSubjectNotBetween(String value1, String value2) {
            addCriterion("order_subject not between", value1, value2, "orderSubject");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyIsNull() {
            addCriterion("exception_refund_notify is null");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyIsNotNull() {
            addCriterion("exception_refund_notify is not null");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyEqualTo(String value) {
            addCriterion("exception_refund_notify =", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyNotEqualTo(String value) {
            addCriterion("exception_refund_notify <>", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyGreaterThan(String value) {
            addCriterion("exception_refund_notify >", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyGreaterThanOrEqualTo(String value) {
            addCriterion("exception_refund_notify >=", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyLessThan(String value) {
            addCriterion("exception_refund_notify <", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyLessThanOrEqualTo(String value) {
            addCriterion("exception_refund_notify <=", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyLike(String value) {
            addCriterion("exception_refund_notify like", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyNotLike(String value) {
            addCriterion("exception_refund_notify not like", value, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyIn(List<String> values) {
            addCriterion("exception_refund_notify in", values, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyNotIn(List<String> values) {
            addCriterion("exception_refund_notify not in", values, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyBetween(String value1, String value2) {
            addCriterion("exception_refund_notify between", value1, value2, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andExceptionRefundNotifyNotBetween(String value1, String value2) {
            addCriterion("exception_refund_notify not between", value1, value2, "exceptionRefundNotify");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeIsNull() {
            addCriterion("order_describe is null");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeIsNotNull() {
            addCriterion("order_describe is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeEqualTo(String value) {
            addCriterion("order_describe =", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeNotEqualTo(String value) {
            addCriterion("order_describe <>", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeGreaterThan(String value) {
            addCriterion("order_describe >", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("order_describe >=", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeLessThan(String value) {
            addCriterion("order_describe <", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeLessThanOrEqualTo(String value) {
            addCriterion("order_describe <=", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeLike(String value) {
            addCriterion("order_describe like", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeNotLike(String value) {
            addCriterion("order_describe not like", value, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeIn(List<String> values) {
            addCriterion("order_describe in", values, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeNotIn(List<String> values) {
            addCriterion("order_describe not in", values, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeBetween(String value1, String value2) {
            addCriterion("order_describe between", value1, value2, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andOrderDescribeNotBetween(String value1, String value2) {
            addCriterion("order_describe not between", value1, value2, "orderDescribe");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlIsNull() {
            addCriterion("refund_notify_url is null");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlIsNotNull() {
            addCriterion("refund_notify_url is not null");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlEqualTo(String value) {
            addCriterion("refund_notify_url =", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlNotEqualTo(String value) {
            addCriterion("refund_notify_url <>", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlGreaterThan(String value) {
            addCriterion("refund_notify_url >", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlGreaterThanOrEqualTo(String value) {
            addCriterion("refund_notify_url >=", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlLessThan(String value) {
            addCriterion("refund_notify_url <", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlLessThanOrEqualTo(String value) {
            addCriterion("refund_notify_url <=", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlLike(String value) {
            addCriterion("refund_notify_url like", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlNotLike(String value) {
            addCriterion("refund_notify_url not like", value, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlIn(List<String> values) {
            addCriterion("refund_notify_url in", values, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlNotIn(List<String> values) {
            addCriterion("refund_notify_url not in", values, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlBetween(String value1, String value2) {
            addCriterion("refund_notify_url between", value1, value2, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyUrlNotBetween(String value1, String value2) {
            addCriterion("refund_notify_url not between", value1, value2, "refundNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlIsNull() {
            addCriterion("close_notify_url is null");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlIsNotNull() {
            addCriterion("close_notify_url is not null");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlEqualTo(String value) {
            addCriterion("close_notify_url =", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlNotEqualTo(String value) {
            addCriterion("close_notify_url <>", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlGreaterThan(String value) {
            addCriterion("close_notify_url >", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlGreaterThanOrEqualTo(String value) {
            addCriterion("close_notify_url >=", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlLessThan(String value) {
            addCriterion("close_notify_url <", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlLessThanOrEqualTo(String value) {
            addCriterion("close_notify_url <=", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlLike(String value) {
            addCriterion("close_notify_url like", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlNotLike(String value) {
            addCriterion("close_notify_url not like", value, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlIn(List<String> values) {
            addCriterion("close_notify_url in", values, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlNotIn(List<String> values) {
            addCriterion("close_notify_url not in", values, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlBetween(String value1, String value2) {
            addCriterion("close_notify_url between", value1, value2, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andCloseNotifyUrlNotBetween(String value1, String value2) {
            addCriterion("close_notify_url not between", value1, value2, "closeNotifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlIsNull() {
            addCriterion("notify_url is null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlIsNotNull() {
            addCriterion("notify_url is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlEqualTo(String value) {
            addCriterion("notify_url =", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlNotEqualTo(String value) {
            addCriterion("notify_url <>", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlGreaterThan(String value) {
            addCriterion("notify_url >", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlGreaterThanOrEqualTo(String value) {
            addCriterion("notify_url >=", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlLessThan(String value) {
            addCriterion("notify_url <", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlLessThanOrEqualTo(String value) {
            addCriterion("notify_url <=", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlLike(String value) {
            addCriterion("notify_url like", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlNotLike(String value) {
            addCriterion("notify_url not like", value, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlIn(List<String> values) {
            addCriterion("notify_url in", values, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlNotIn(List<String> values) {
            addCriterion("notify_url not in", values, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlBetween(String value1, String value2) {
            addCriterion("notify_url between", value1, value2, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andNotifyUrlNotBetween(String value1, String value2) {
            addCriterion("notify_url not between", value1, value2, "notifyUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlIsNull() {
            addCriterion("order_url is null");
            return (Criteria) this;
        }

        public Criteria andOrderUrlIsNotNull() {
            addCriterion("order_url is not null");
            return (Criteria) this;
        }

        public Criteria andOrderUrlEqualTo(String value) {
            addCriterion("order_url =", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlNotEqualTo(String value) {
            addCriterion("order_url <>", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlGreaterThan(String value) {
            addCriterion("order_url >", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlGreaterThanOrEqualTo(String value) {
            addCriterion("order_url >=", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlLessThan(String value) {
            addCriterion("order_url <", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlLessThanOrEqualTo(String value) {
            addCriterion("order_url <=", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlLike(String value) {
            addCriterion("order_url like", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlNotLike(String value) {
            addCriterion("order_url not like", value, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlIn(List<String> values) {
            addCriterion("order_url in", values, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlNotIn(List<String> values) {
            addCriterion("order_url not in", values, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlBetween(String value1, String value2) {
            addCriterion("order_url between", value1, value2, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andOrderUrlNotBetween(String value1, String value2) {
            addCriterion("order_url not between", value1, value2, "orderUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlIsNull() {
            addCriterion("show_url is null");
            return (Criteria) this;
        }

        public Criteria andShowUrlIsNotNull() {
            addCriterion("show_url is not null");
            return (Criteria) this;
        }

        public Criteria andShowUrlEqualTo(String value) {
            addCriterion("show_url =", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlNotEqualTo(String value) {
            addCriterion("show_url <>", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlGreaterThan(String value) {
            addCriterion("show_url >", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlGreaterThanOrEqualTo(String value) {
            addCriterion("show_url >=", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlLessThan(String value) {
            addCriterion("show_url <", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlLessThanOrEqualTo(String value) {
            addCriterion("show_url <=", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlLike(String value) {
            addCriterion("show_url like", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlNotLike(String value) {
            addCriterion("show_url not like", value, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlIn(List<String> values) {
            addCriterion("show_url in", values, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlNotIn(List<String> values) {
            addCriterion("show_url not in", values, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlBetween(String value1, String value2) {
            addCriterion("show_url between", value1, value2, "showUrl");
            return (Criteria) this;
        }

        public Criteria andShowUrlNotBetween(String value1, String value2) {
            addCriterion("show_url not between", value1, value2, "showUrl");
            return (Criteria) this;
        }

        public Criteria andServiceIsNull() {
            addCriterion("service is null");
            return (Criteria) this;
        }

        public Criteria andServiceIsNotNull() {
            addCriterion("service is not null");
            return (Criteria) this;
        }

        public Criteria andServiceEqualTo(String value) {
            addCriterion("service =", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceNotEqualTo(String value) {
            addCriterion("service <>", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceGreaterThan(String value) {
            addCriterion("service >", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceGreaterThanOrEqualTo(String value) {
            addCriterion("service >=", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceLessThan(String value) {
            addCriterion("service <", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceLessThanOrEqualTo(String value) {
            addCriterion("service <=", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceLike(String value) {
            addCriterion("service like", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceNotLike(String value) {
            addCriterion("service not like", value, "service");
            return (Criteria) this;
        }

        public Criteria andServiceIn(List<String> values) {
            addCriterion("service in", values, "service");
            return (Criteria) this;
        }

        public Criteria andServiceNotIn(List<String> values) {
            addCriterion("service not in", values, "service");
            return (Criteria) this;
        }

        public Criteria andServiceBetween(String value1, String value2) {
            addCriterion("service between", value1, value2, "service");
            return (Criteria) this;
        }

        public Criteria andServiceNotBetween(String value1, String value2) {
            addCriterion("service not between", value1, value2, "service");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameIsNull() {
            addCriterion("beneficiary_name is null");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameIsNotNull() {
            addCriterion("beneficiary_name is not null");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameEqualTo(String value) {
            addCriterion("beneficiary_name =", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameNotEqualTo(String value) {
            addCriterion("beneficiary_name <>", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameGreaterThan(String value) {
            addCriterion("beneficiary_name >", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameGreaterThanOrEqualTo(String value) {
            addCriterion("beneficiary_name >=", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameLessThan(String value) {
            addCriterion("beneficiary_name <", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameLessThanOrEqualTo(String value) {
            addCriterion("beneficiary_name <=", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameLike(String value) {
            addCriterion("beneficiary_name like", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameNotLike(String value) {
            addCriterion("beneficiary_name not like", value, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameIn(List<String> values) {
            addCriterion("beneficiary_name in", values, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameNotIn(List<String> values) {
            addCriterion("beneficiary_name not in", values, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameBetween(String value1, String value2) {
            addCriterion("beneficiary_name between", value1, value2, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andBeneficiaryNameNotBetween(String value1, String value2) {
            addCriterion("beneficiary_name not between", value1, value2, "beneficiaryName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}